<!doctype html>
<html lang="zh">
<head>
    <title>{:config('WEB_SITE_TITLE')} - 后台管理</title>
    <meta charset="utf-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no">
    <meta name="author" content="{:config('WEB_SITE_TITLE')}">
    <meta name="keywords" content="{:config('WEB_SITE_KEYWORD')}">
    <meta name="description" content="{:config('WEB_SITE_DESCRIPTION')}">

    <link rel="shortcut icon" type="image/x-icon" href="__ROOT__/logo.png">
    <link rel="stylesheet" href="__STATIC__/adminlte/bower_components/bootstrap/dist/css/bootstrap.min.css">
    <link rel="stylesheet" href="__STATIC__/adminlte/bower_components/font-awesome/css/font-awesome.min.css">
    <link rel="stylesheet" href="__STATIC__/adminlte/bower_components/Ionicons/css/ionicons.min.css">

    <link rel="stylesheet" href="__STATIC__/adminlte/bower_components/bootstrap-switch/css/bootstrap3/bootstrap-switch.min.css">
    <link rel="stylesheet" href="__STATIC__/libs/webuploader/webuploader.css">
    <link rel="stylesheet" href="__STATIC__/libs/bootstrap-toastr/toastr.css">

    <link rel="stylesheet" href="__STATIC__/libs/bootstrap-validator/dist/css/bootstrapValidator.css">
    <link rel="stylesheet" href="__STATIC__/libs/bootstrap-fileinput/css/fileinput.css">
    <link rel="stylesheet" href="__STATIC__/libs/summernote/dist/summernote.css">

    <link rel="stylesheet" href="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.css">

    <!--
    <link rel="stylesheet" href="__STATIC__/libs/datetimepicker/jquery.datetimepicker.css">
     -->

    <link rel="stylesheet" href="__STATIC__/libs/bootstrap-datetimepicker/css/bootstrap-datetimepicker.css">

    <link rel="stylesheet" href="__STATIC__/adminlte/dist/css/AdminLTE.css">
    <link rel="stylesheet" href="__STATIC__/adminlte/dist/css/skins/skin-blue.css">

    <link rel="stylesheet" href="__STATIC__/admin/css/admin_main.css">


<style>

xxxli.treeview.menu-open > ul.treeview-menu {display:block;}

xxx.skin-blue .sidebar-menu>li.menu-open>a {background: #394555;color: #eee;}

body {
    font-family: 'Microsoft YaHei','Helvetica Neue',sans-serif,SimHei;
    font-size: 14px;
}

.content-wrapper {
    background-color: #fff;
}

.content-header>h1 {
    font-size: 20px;
}

.box-header>.fa,
.box-header>.glyphicon,
.box-header>.ion,
.box-header .box-title {
    font-size: 18px;
}

.navbar-nav li a {
    font-size: 13px;
}

.sidebar-menu,
.treeview-menu>li>a {
    font-size: 13px;
}


.table {
    margin-bottom: 10px !important;
}
.table>tbody>tr>td,
.table>tbody>tr>th,
.table>tfoot>tr>td,
.table>tfoot>tr>th,
.table>thead>tr>td,
.table>thead>tr>th {
    vertical-align: middle;
}
.table-bordered {
    border: 1px solid #ddd;
}
.table-bordered>thead>tr>th,
.table-bordered>tbody>tr>th,
.table-bordered>tfoot>tr>th,
.table-bordered>thead>tr>td,
.table-bordered>tbody>tr>td,
.table-bordered>tfoot>tr>td {
    border: 1px solid #ddd;
}
.table .data-empty td {
    height: 200px;
}
.table td.actions>button {
    margin-right: 3px;
}
.table td.actions>button:last-of-type {
    margin-right: 0px;
}

.sidebar-menu>li>a {
    padding: 10px 15px;
}

.sidebar-menu > li > .treeview-menu {
    padding-left: 0px;
}

.skin-blue .sidebar-menu > li a .fa {
  color: #aeb9c2;
}

.skin-blue .sidebar-menu > li > a,
.skin-blue .sidebar-menu > li:hover > a,
.skin-blue .sidebar-menu > li.active > a,
.skin-blue .sidebar-menu > li.menu-open > a {
  color: #eee;
  background: #394555;
}

.skin-blue .sidebar-menu > li > .treeview-menu {
  margin: 0 1px;
  background: #222d32;
}

.skin-blue .sidebar-menu > li > .treeview-menu > li.active > a {
  background: #3c8dbc;
}

.skin-blue .sidebar-menu > li > .treeview-menu > li > a {
    color: #eee;
    padding: 7px 10px 7px 42px;
}

.skin-blue .sidebar-menu > li > .treeview-menu > li a:hover {
   background: #394555;
}

.page-bar {
  padding: 0px;
}
.page-bar:before, .page-bar:after {
    content: " ";
    display: table;
}
.page-bar:after {
    clear: both;
}
  .page-bar .page-breadcrumb {
    display: inline-block;
    float: left;
    padding: 8px;
    margin: 0;
    list-style: none;
}
.page-bar .page-breadcrumb > li {
    display: inline-block;
    color: #777;
}
.page-bar .page-breadcrumb > li > a,
.page-bar .page-breadcrumb > li > span {
    font-size: 14px;
    text-shadow: none;
}
.page-bar .page-breadcrumb > li > i {
    font-size: 14px;
    text-shadow: none;
    color: #999;
}
.page-bar .page-breadcrumb > li+li:before {
    content: "/\00a0";
    padding: 0 5px;
    color: #ccc;
}

.page-bar .page-toolbar {
  display: inline-block;
  float: right;
  padding: 6px 0;
}
.page-bar .page-toolbar .btn-fit-height {
  -webkit-border-radius: 0 4px 4px 0;
  -moz-border-radius: 0 4px 4px 0;
  -ms-border-radius: 0 4px 4px 0;
  -o-border-radius: 0 4px 4px 0;
  border-radius: 0 4px 4px 0;
  padding-top: 8px;
  padding-bottom: 8px;
}

.pagination {
    float: right;
    margin: 0;
}
.pagination > li >a,
.pagination > li > span,
.pagination>li:first-child>a,
.pagination>li:first-child>span,
.pagination>li:last-child>a,
.pagination>li:last-child>span {
    border: 1px solid #ddd;
    padding: 6px 12px;
    font-size: 12px;
    border-top-left-radius: 0px;
    border-bottom-left-radius: 0px;
    color: #666;
}
.pagination > li.active > a {
    color: #fff;
}
.pagination > li > span {
    cursor: not-allowed;
}
.pagination-info {
    padding-top: 10px;
    white-space: nowrap;
    font-size: 70%;
}

.table-fixed-toolbar {
    margin: 0 0 15px 0;
    padding: 0;
    float:left;
}
.table-fixed-toolbar>button {
    margin-right: 5px;
}
.table-fixed-toolbar>button:last-of-type {
    margin-right: 0px;
}

.table-fixed-toolbar li {
    display:inline;
    margin-right: 5px;
}
.table-fixed-toolbar li:last-child {
    margin-right: 0px;
}

.mb-s {
    margin-bottom: 10px;
}
.mb-m {
    margin-bottom: 15px;
}
.mb-b {
    margin-bottom: 20px;
}

.bootstrap-switch {
    display: block;
}

.alert span.header {
    margin-bottom: 15px;
    display: block;
}
.alert ul.list ｛

｝

.datetimepicker {
    xborder: 1px solid rgba(0,0,0,.15) !important;
    border: 1px solid red !important;
}

</style>

    <!-- HTML5 Shim and Respond.js IE8 support of HTML5 elements and media queries -->
    <!-- WARNING: Respond.js doesn't work if you view the page via file:// -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/html5shiv/3.7.3/html5shiv.min.js"></script>
    <script src="https://oss.maxcdn.com/respond/1.4.2/respond.min.js"></script>
    <![endif]-->

    <script src="__STATIC__/adminlte/bower_components/jquery/dist/jquery.min.js"></script>
    <script src="__STATIC__/adminlte/bower_components/bootstrap/dist/js/bootstrap.min.js"></script>
    <script src="__STATIC__/adminlte/bower_components/bootstrap-switch/js/bootstrap-switch.min.js"></script>

    <script src="__STATIC__/libs/webuploader/webuploader.js"></script>
    <script src="__STATIC__/libs/bootstrap-toastr/toastr.min.js"></script>

    <script src="__STATIC__/libs/bootstrap-validator/dist/js/bootstrapValidator.js"></script>
    <script src="__STATIC__/libs/bootstrap-validator/dist/js/language/zh_CN.js"></script>

    <script src="__STATIC__/libs/bootstrap-fileinput/js/fileinput.js"></script>
    <script src="__STATIC__/libs/bootstrap-fileinput/js/locales/zh.js"></script>

    <script src="__STATIC__/libs/summernote/dist/summernote.min.js"></script>
    <script src="__STATIC__/libs/summernote/dist/lang/summernote-zh-CN.min.js"></script>

    <script src="https://cdn.bootcss.com/jqueryui/1.12.1/jquery-ui.js"></script>

    <script src="__ROOT__/elFinder/js/elfinder.full.js"></script>
    <script src="__STATIC__/libs/summernote-ext-elfinder/summernote-ext-elfinder.js"></script>

    <script src="__STATIC__/libs/inputmask/dist/min/jquery.inputmask.bundle.min.js"></script>

    <!--
    <script src="__STATIC__/libs/datetimepicker/build/jquery.datetimepicker.full.js"></script>
    <script src="__STATIC__/libs/My97DatePicker/WdatePicker.js"></script>
     -->

    <script src="__STATIC__/libs/bootstrap-datetimepicker/js/bootstrap-datetimepicker.js"></script>
    <script src="__STATIC__/libs/bootstrap-datetimepicker/js/locales/bootstrap-datetimepicker.zh-CN.js"></script>

    <script src="__STATIC__/libs/layer/layer.js"></script>
    <script src="__STATIC__/libs/jquery-blockUI/jquery.blockUI.js"></script>

    <script src="__STATIC__/adminlte/dist/js/adminlte.js"></script>

    <script type="text/javascript">
    REQUEST_URL = "{:request()->url()}";
    REQUEST_MODULE = "{:request()->module()}";
    REQUEST_CONTROLLER = "{:request()->controller()}";
    REQUEST_ACTION = "{:request()->action()}";
    FILE_UPLOAD_URL = "{:url('/admin/upload/upload')}";
    FILE_DELETE_URL = "{:url('/admin/upload/delete')}";
    </script>

    <script src="__STATIC__/admin/js/admin.js"></script>
</head>

<body class="hold-transition skin-blue sidebar-mini">
    <div class="wrapper">
        {block name="wrapper"}

            <header class="main-header">
                <!-- Logo -->
                <a href="index2.html" class="logo">
                    <!-- mini logo for sidebar mini 50x50 pixels -->
                    <span class="logo-mini"><b>SF</b></span>
                    <!-- logo for regular state and mobile devices -->
                    <span class="logo-lg"><b>Suifeng</b>ADMIN</span>
                </a>

                <!-- Header Navbar -->
                <nav class="navbar navbar-static-top" role="navigation">
                    <div class="collapse navbar-collapse pull-left">
                        <ul class="nav navbar-nav">
                            {volist name="_admin_menu" id="vo"}
                                <li <?php if($vo['_active']) echo 'class="active"'; ?>>
                                    <a href="{:url($vo._url)}">
                                        <i class="fa {$vo.icon}"></i>
                                        <span>{$vo.title}</span>
                                    </a>
                                </li>
                            {/volist}
                        </ul>
                    </div>

                    <!-- Navbar Right Menu -->
                    <div class="navbar-custom-menu">
                        <ul class="nav navbar-nav pull-right">
                            <li><a href="{:url('admin/index/removeRuntime')}" style="border: 0;text-align: left" class="btn ajax-get b-r-0 no-refresh"><i class="fa fa-trash"></i> 清空缓存</a></li>
                            <li><a target="_blank" href="__ROOT__/"><i class="fa fa-external-link"></i> 打开前台</a></li>
                            <li class="dropdown">
                                <a href="#" class="dropdown-toggle" data-toggle="dropdown">
                                    <i class="fa fa-user"></i>
                                    <span>{$_page_name}</span>
                                </a>
                                <ul class="dropdown-menu" role="menu">
                                    <li><a target="_blank" href="__ROOT__/"><i class="fa fa-external-link"></i> 打开前台</a></li>
                                    <li><a href="{:url('admin/index/removeRuntime')}" style="border: 0;text-align: left;" class="btn text-left ajax-get no-refresh"><i class="fa fa-trash"></i> 清空缓存</a></li>
                                    <li><a href="{:url('admin/session/logout')}" class="ajax-get"><i class="fa fa-sign-out"></i> 退出</a></li>
                                </ul>
                            </li>
                        </ul>
                    </div>
                </nav>
            </header>

            <aside class="main-sidebar">
                <?php if (!request()->isMobile()): ?>
                    <section class="sidebar">
                        <?php if ($_module_menu && $_module_menu['_children']): ?>
                            <ul class="sidebar-menu" data-widget="tree" data-accordion="false">
                                {volist name="_module_menu._children" id="_ns_first" key="fkey"}
                                    <li <?php if($_ns_first['_children']) echo 'class="treeview menu-open"'; ?>>
                                        <a href="#">
                                            <i class="{$_ns_first.icon}"></i>
                                            <span>{$_ns_first.title}</span>
                                            <?php if ($_ns_first['_children']): ?>
                                                <span class="pull-right-container">
                                                    <i class="fa fa-angle-left pull-right"></i>
                                                </span>
                                            <?php endif; ?>
                                        </a>
                                        {notempty name="_ns_first._children"}
                                             <ul class="treeview-menu" style="display:block;">
                                                 {volist name="_ns_first._children" id="_ns_second" key="skey"}
                                                     <li <?php if($_ns_second['_active']) echo 'class="active"'; ?>>
                                                         <a href="{:url($_ns_second.url)}" >
                                                             <i class="{$_ns_second.icon}"></i>
                                                             <span>{$_ns_second.title}</span>
                                                         </a>
                                                     </li>
                                                 {/volist}
                                             </ul>
                                         {/notempty}
                                     </li>
                                {/volist}
                            </ul>
                        <?php endif; ?>
                    </section>
                <?php endif; ?>
            </aside>


            <div class="content-wrapper">
                {block name="content-wrapper"}

                    <div class="page-bar">
                         <!-- 面包屑导航 -->
                        <?php if ($breadcrumbs): ?>
                            <ul class="page-breadcrumb">
                                <li><i class="fa fa-map-marker"></i></li>
                                {volist name="breadcrumbs" id="vo"}
                                    <li>{$vo}</li>
                                {/volist}
                            </ul>
                        <?php endif; ?>
                    </div>

                    {block name="full-content"}
                        <section class="content-header">
                            <h1>{$page_title}</h1>
                        </section>

                        <section class="content">
                            {block name="main"}{/block}
                        </section>
                    {/block}

                {/block}
            </div>

        {/block}
    </div>
</body>
</html>